﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NUnit.OptimizedInferredRelationships.Domain
{
    public class Person
    {
        public Person()
        {
        }

        public Person(string firstName)
        {
            this.firstName = firstName;
        }

        protected string id;

        public string Id
        {
            get { return id; }
            set { id = value; }
        }

        protected string firstName;

        public string FirstName
        {
            get { return firstName; }
            set { firstName = value; }
        }

        protected string lastName;

        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }

        protected Address address;

        public virtual Address Address
        {
            get { return address; }
            set { address = value; }
        }


        protected Vehicule vehicule;

        public virtual Vehicule Vehicule
        {
            get { return vehicule; }
            set { vehicule = value; }
        }
    }
}
